package com.soushin.mvpdemo.Utils;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.wanglu.photoviewerlibrary.PhotoViewer;

/**
 * 加载器
 * @author SouShin
 * @time 2018/11/15 13:50
 */
public class ImageLoader implements PhotoViewer.ShowImageViewInterface {

    @Override
    public void show(ImageView imageView, String s) {
        /*RequestOptions options = new RequestOptions()
                .error(R.drawable.ic_empty)
                .skipMemoryCache(true);*/
        Glide.with(imageView.getContext()).load(s).into(imageView);
    }
}
